package com.design.create.prototype;

import java.util.ArrayList;

/**
 * 原型模式核心---原型类
 */
public abstract class Prototype implements Cloneable{

    protected ArrayList<String> list = new ArrayList<>();

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    public abstract void show();
}
